<template>
  <div class="form-definition-editor">
    <div class="form-definition-editor-side">
      <slot name="left"/>
    </div>

    <div class="form-definition-editor-body">
      <div class="form-definition-editor-body-body">
        <slot/>
      </div>

      <div style="height: fit-content; background: white">
        <slot name="footer"/>
      </div>
    </div>

    <div class="form-definition-editor-side">
      <slot name="right"/>
    </div>
  </div>
</template>
<script>
export default {
  name: 'FormDefinitionEditorLayout'
}
</script>
<style>
.form-definition-editor {
  width: 100vw;
  height: 100vh;
  display: flex;
}

.form-definition-editor-side {
  width: fit-content;
}

.form-definition-editor-body {
  flex: 1;
  height: 100vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: #b6b6b6;
}

.form-definition-editor-body-body {
  flex: 1;
  overflow: auto;
}

</style>